using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 新增场馆会员卡用户领取dto
    /// </summary>
    public class VenueUserCardAddDto
    {
        /// <summary>
        /// 会员用户id列表
        /// </summary>
        [Required(ErrorMessage = "会员用户id必填")]
        [MinLength(1)]
        public List<Guid> UserIdList { get; set; }

        /// <summary>
        /// 场馆卡套ID
        /// </summary>
        [Required(ErrorMessage = "场馆卡套ID必填")]
        public Guid CardId { get; set; }
    }

    /// <summary>
    /// 用户会员卡充值
    /// </summary>
    public class VenueUserCardAmountAddDto
    {
        /// <summary>
        /// 用户会员卡id
        /// </summary>
        [Required(ErrorMessage = "用户会员卡id必填")]
        public Guid UserCardId { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 充值次数
        /// </summary>
        public decimal TimesCount { get; set; }

        /// <summary>
        /// 折扣(0.1-10)
        /// </summary>
        public decimal Discount { get; set; }
    }
}
